package com.ruoyi.net.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网元-QOS配置-流行为对象 element_qos_action
 * 
 * @author net
 * @date 2024-11-17
 */
public class ElementQosAction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 网元id */
    @Excel(name = "网元id")
    private String elementId;

    /** 流行为名称 */
    @Excel(name = "流行为名称")
    private String actionName;

    /** 流分类动作使能 */
    @Excel(name = "流分类动作使能")
    private String actionEnable;

    /** 流分类动作 */
    @Excel(name = "流分类动作")
    private String action;

    /** 流量整形使能 */
    @Excel(name = "流量整形使能")
    private String plasticEnable;

    /** 调度策略使能 */
    @Excel(name = "调度策略使能")
    private String dispatchStrategyEnable;

    /** 拥塞策略使能 */
    @Excel(name = "拥塞策略使能")
    private String crowdStrategyEnable;

    /** 队列长度 */
    @Excel(name = "队列长度")
    private String queueLen;

    /** 重定向配置 */
    @Excel(name = "重定向配置")
    private String redirectConfig;

    /** 镜像配置 */
    @Excel(name = "镜像配置")
    private String imageConfig;

    /** 重映射配置 */
    @Excel(name = "重映射配置")
    private String mappingConfig;

    /** 指配PHB配置 */
    @Excel(name = "指配PHB配置")
    private String assignPhb;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setElementId(String elementId) 
    {
        this.elementId = elementId;
    }

    public String getElementId() 
    {
        return elementId;
    }
    public void setActionName(String actionName) 
    {
        this.actionName = actionName;
    }

    public String getActionName() 
    {
        return actionName;
    }
    public void setActionEnable(String actionEnable) 
    {
        this.actionEnable = actionEnable;
    }

    public String getActionEnable() 
    {
        return actionEnable;
    }
    public void setAction(String action) 
    {
        this.action = action;
    }

    public String getAction() 
    {
        return action;
    }
    public void setPlasticEnable(String plasticEnable) 
    {
        this.plasticEnable = plasticEnable;
    }

    public String getPlasticEnable() 
    {
        return plasticEnable;
    }
    public void setDispatchStrategyEnable(String dispatchStrategyEnable) 
    {
        this.dispatchStrategyEnable = dispatchStrategyEnable;
    }

    public String getDispatchStrategyEnable() 
    {
        return dispatchStrategyEnable;
    }
    public void setCrowdStrategyEnable(String crowdStrategyEnable) 
    {
        this.crowdStrategyEnable = crowdStrategyEnable;
    }

    public String getCrowdStrategyEnable() 
    {
        return crowdStrategyEnable;
    }
    public void setQueueLen(String queueLen) 
    {
        this.queueLen = queueLen;
    }

    public String getQueueLen() 
    {
        return queueLen;
    }
    public void setRedirectConfig(String redirectConfig) 
    {
        this.redirectConfig = redirectConfig;
    }

    public String getRedirectConfig() 
    {
        return redirectConfig;
    }
    public void setImageConfig(String imageConfig) 
    {
        this.imageConfig = imageConfig;
    }

    public String getImageConfig() 
    {
        return imageConfig;
    }
    public void setMappingConfig(String mappingConfig) 
    {
        this.mappingConfig = mappingConfig;
    }

    public String getMappingConfig() 
    {
        return mappingConfig;
    }
    public void setAssignPhb(String assignPhb) 
    {
        this.assignPhb = assignPhb;
    }

    public String getAssignPhb() 
    {
        return assignPhb;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("elementId", getElementId())
            .append("actionName", getActionName())
            .append("actionEnable", getActionEnable())
            .append("action", getAction())
            .append("plasticEnable", getPlasticEnable())
            .append("dispatchStrategyEnable", getDispatchStrategyEnable())
            .append("crowdStrategyEnable", getCrowdStrategyEnable())
            .append("queueLen", getQueueLen())
            .append("redirectConfig", getRedirectConfig())
            .append("imageConfig", getImageConfig())
            .append("mappingConfig", getMappingConfig())
            .append("assignPhb", getAssignPhb())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
